<template>
  <view class="classLayout pagebg">
    <custom-nav-bar title="分类"></custom-nav-bar>
    <view class="classify">
      <theme-item v-for="item in ClassIfyList" :key="item._id" :ClassIfyList='item'></theme-item>
    </view>
  </view>
</template>

<script setup>
import { ref } from 'vue';
import { apiClassIfy,apiwallList } from '@/api/apis.js'
 // 获取分类
  const ClassIfyList = ref([])
  const getClassIfy = async()=>{
       const res = await apiClassIfy()
       ClassIfyList.value = res.data
  }
  getClassIfy()
  

</script>

<style scoped lang="scss">
.classify{
  padding: 30rpx;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15rpx;
}
</style>
